package com.guaoran.other.stategy.pay;

import com.guaoran.other.stategy.pay.bean.Order;
import com.guaoran.other.stategy.pay.bean.PayType;
import com.guaoran.other.stategy.pay.interfaces.impl.JDPay;

/**
 * @author : 孤傲然
 * @Description :
 * @date :2018/5/17 16:47
 */
public class PayTest {
    public static void main(String[] args) {
        Order order = new Order("123","123456",123.345);
        order.pay(new JDPay());

        System.out.println("_----------------------------------------_");

        order.payStategy(PayType.AiliPay);
    }



}
